{# Copyright (c) 2006-2007, PreFab Software Inc. #}
{# Modified by apsl.net #}

{% load blog_extras %}

{% if object.id %}
{% get_recent_posts 12 as post_list object.id %}
{% endif %}
{% if not object.id %}
{% get_recent_posts 12 as post_list %}
{% endif %}
{% if post_list %}
<ul>
{% for p in post_list %}
<li><a href="{{ p.get_absolute_url }}" title="{{ p.headline }}" class='menu{% if not p.current_post %}_content{% endif %}
{% if p.current_post %}_current{% endif %}'>{{ p.headline }}</a></li>
{% endfor %}
</ul>
{% endif %}